<html>
<head>
	<title>{{ appname }} - Post questions, share information and collaborate with anyone</title>
	<link rel="stylesheet" type="text/css" href="/static/site.css" />
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head>
<body>
	<div id="header">
		<p style="float: right; text-align: right; padding-top: 10px; width: 45%">{% if user %}{{ user.nickname }} &ndash; <a href="/logout">Logout</a>{% else %}<a href="/login?pid={{ post_id }}">Login</a>{% endif %}</p>
		<p style="float: left; width: 45%"><a href="/"><img src="/static/mobsmarts.png" alt="{{ appname }}" border="0" /></a><br /><span id="description">Post questions, share information and collaborate with anyone</span></p>
	</div>

	<div id="main">
		<div id="post">
			<h2>{{ post_title }} &ndash; Comparison</h2>

			<p><a href="/history?pid={{ post_id }}">Back to change history</a>{% if user %} &nbsp;|&nbsp; <a href="/history-restore?pid={{ post_id }}&version={{ version }}" onclick="return confirm ('Are you sure you want to restore this previous version of the post?')">Restore version</a>{% endif %}</p>

			<p><em>Version date: {{ post_date|date }} &ndash; {{ post_date|timesince }}</em></p>

			<p><strong>Legend:</strong>&nbsp;&nbsp;<ins>New in current</ins>, <del>Removed from current</del></p>

			<hr />

			{{ post_body }}

			<br clear="both" /><br />
		</div>
		<div id="sidebar">
			<!-- nothing to show here... -->
		</div>
		<br clear="both" /><br />
	</div>

	<div id="footer">
		&copy; <a href="http://www.companymachine.com/">Company Machine</a> 2008
	</div>

<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("{{ analytics }}");
pageTracker._initData();
pageTracker._trackPageview();
</script>

</body>
</html>